﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace N03_11HCA_HTTTHD.Models
{
    public class Kho_Them_GiaiPhapPhanMem
    {
        public static String Name_tenViet = "tenViet";
        public static String Name_tenAnh = "tenAnh";
        public static String Name_sllXuatXu = "sllXuatXu";
        public static String Name_txtMoTa = "txtMoTa";
        public static String Name_txtUuDiem = "txtUuDiem";
        public static String Name_fileHinhAnhDinhKem = "fileHinhAnhDinhKem";
        public static String Name_fileDinhKem = "fileDinhKem";
        public static String Name_txtDoiTuongSuDung = "txtDoiTuongSuDung";
       // public static String Name_patent = "patent";
        //public static String Name_biQuyet = "biQuyet";
        //public static String Name_license = "license";
        //public static String Name_daoTao = "daoTao";
        public static String Name_chuyenGiao = "chuyenGiao";

        //public static String Name_chiaKhoaTraoTay = "chiaKhoaTraoTay";
        //public static String Name_theoThoaThuanCuaKhachHang = "theoThoaThuanCuaKhachHang";
        //public static String Name_trucTiepTheoDDH = "trucTiepTheoDDH";
        //public static String Name_theoDDH = "theoDDH";
        //public static String Name_quaTongDaiLy = "quaTongDaiLy";
        //public static String Name_daiLyDocQuyen = "daiLyDocQuyen";
        public static String Name_cungCap= "cungCap";
        //public static String Name_quaTiepThiChinh = "quaTiepThiChinh";
        public static String Name_giaKhoiDiem = "giaKhoiDiem";
        public static String Name_giaKetThuc = "giaKetThuc";
        public static String Name_donviTinh = "donviTinh";
        public static String Name_donviTienTe = "donviTienTe";
        public static String Name_txtDieuKienKhac = "txtDieuKienKhac";
        public static String Name_chiPhiKhac = "chiPhiKhac";
        public static String Name_baoHanh = "baoHanh";
        public static String Name_chuyenGiaoCho = "chuyenGiaoCho";
        public static String Name_donViDaChuyenGiao = "donViDaChuyenGiao";
        public static String Name_slPhanLoai = "slPhanLoai";
        public static String Name_slLinhVuc = "slLinhVuc";

        public static String Name_inputTieuChuan = "inputTieuChuan";
        //public static String Name_inputTieuChuanNuocNgoai = "Name_inputTieuChuanNuocNgoai";
        public static String Name_txtCongSuatNangSuat = "txtCongSuatNangSuat";
        public static String Name_txtCacChiTieuKinhTeKyThuat = "txtCacChiTieuKinhTeKyThuat";
       public static String Name_mucDoPhatTrien = "mucDoPhatTrien";
        //public static String Name_inputSuDungQuiMo = "inputSuDungQuiMo";
        //public static String Name_inputThuongMaiHoa = "inputThuongMaiHoa";
        //public static String Name_inputDeTaiCuaDonVi = "inputDeTaiCuaDonVi";
        //public static String Name_inputChuyenGiaoTuNuocNgoai = "inputChuyenGiaoTuNuocNgoai";
        //public static String Name_inputSaoChepTuNuocNgoai = "inputSaoChepTuNuocNgoai";
        public static String Name_xuatXuDeTai = "xuatXuDeTai";
        public static String Name_inputNamHoanThien = "inputNamHoanThien";
        public static String Name_inputNhanLuc = "inputNhanLuc";
        public static String Name_inputKySu = "inputKySu";
        public static String Name_inputKyThuatVien = "inputKyThuatVien";
        public static String Name_inputCongNhan = "inputCongNhan";
        public static String Name_inputDien = "inputDien";
        public static String Name_inputKhiDot = "inputKhiDot";
        public static String Name_inputDau = "inputDau";
        public static String Name_inputMatBang = "inputMatBang";
        public static String Name_inputNhienLieu = "inputNhienLieu";
        public static String Name_inputTuKhoa = "inputTuKhoa";
        public static String Name_btnSubmit = "btnSubmit";
        public static String Name_btnHuy = "btnHuy";
        public static String Name_inputChucNang = "inputChucNang";
        public static String Name_inputCauTruc = "inputCauTruc";
        public static String Name_inputMucDoPhatTrien = "inputMucDoPhatTrien";
        public static String Name_inputYeuCau = "inputYeuCau";
        public static String Name_ = "";
        
        public Kho_Them_GiaiPhapPhanMem(List<Data_DAO_DTO_Lib.DTO.DTO> listPhanLoai, List<Data_DAO_DTO_Lib.DTO.DTO> listLinhVuc, List<Data_DAO_DTO_Lib.DTO.DTO> listChuyenGiao, List<Data_DAO_DTO_Lib.DTO.DTO> listCungCap, List<Data_DAO_DTO_Lib.DTO.DTO> listMucDoPhatTrien, List<Data_DAO_DTO_Lib.DTO.DTO> listXuatXuDeTai,List<Data_DAO_DTO_Lib.DTO.DTO> listTieuChuan)
        {
            setListPhanLoaiTuDTO(listPhanLoai);
            setListLinhVucTuDTO(listLinhVuc);
            setListChuyenGiaoTuDTO(listChuyenGiao);
            setListCungCapTuDTO(listCungCap);
            setListMucDoPhatTrienTuDTO(listMucDoPhatTrien);
            setListXuatXuDeTaiTuDTO(listXuatXuDeTai);
            setListTieuChuanTuDTO(listTieuChuan);
        }
        //----------------------

        //lay danh sach phan loai
        private List<Data_DAO_DTO_Lib.DTO.DANHMUC_DTO> listPhanLoai  = new List<Data_DAO_DTO_Lib.DTO.DANHMUC_DTO>();
        public List<Data_DAO_DTO_Lib.DTO.DANHMUC_DTO> ListPhanLoai
        {
            get
            {
                return listPhanLoai;
            }
            set
            {
                listPhanLoai = value;
            }
        }

        void setListPhanLoaiTuDTO(List<Data_DAO_DTO_Lib.DTO.DTO> l)
        {
            listPhanLoai = new List<Data_DAO_DTO_Lib.DTO.DANHMUC_DTO>();

            for (int i = 0; i < l.Count; i++)
            {
                listPhanLoai.Add((Data_DAO_DTO_Lib.DTO.DANHMUC_DTO)l[i]);
            }
        }

       
        //lay danh sach dich vu
        private List<Data_DAO_DTO_Lib.DTO.LINHVUC_DTO> listLinhVuc = new List<Data_DAO_DTO_Lib.DTO.LINHVUC_DTO>();
        public List<Data_DAO_DTO_Lib.DTO.LINHVUC_DTO> ListLinhVuc
        {
            get
            {
                return listLinhVuc;
            }
            set
            {
                listLinhVuc = value;
            }
        }

        void setListLinhVucTuDTO(List<Data_DAO_DTO_Lib.DTO.DTO> l)
        {
            listLinhVuc = new List<Data_DAO_DTO_Lib.DTO.LINHVUC_DTO>();

            for (int i = 0; i < l.Count; i++)
            {
                listLinhVuc.Add((Data_DAO_DTO_Lib.DTO.LINHVUC_DTO)l[i]);
            }
        }

        //lay danh sach chuyen chuyen giao
        private List<Data_DAO_DTO_Lib.DTO.CHUYENGIAO_DTO> listChuyenGiao = new List<Data_DAO_DTO_Lib.DTO.CHUYENGIAO_DTO>();
        public List<Data_DAO_DTO_Lib.DTO.CHUYENGIAO_DTO> ListChuyenGiao
        {
            get
            {
                return listChuyenGiao;
            }
            set
            {
                listChuyenGiao = value;
            }
        }

        void setListChuyenGiaoTuDTO(List<Data_DAO_DTO_Lib.DTO.DTO> l)
        {
            listChuyenGiao = new List<Data_DAO_DTO_Lib.DTO.CHUYENGIAO_DTO>();

            for (int i = 0; i < l.Count; i++)
            {
                listChuyenGiao.Add((Data_DAO_DTO_Lib.DTO.CHUYENGIAO_DTO)l[i]);
            }
        }

        //lay danh sach cung cap
        private List<Data_DAO_DTO_Lib.DTO.CUNGCAP_DTO> listCungCap = new List<Data_DAO_DTO_Lib.DTO.CUNGCAP_DTO>();
        public List<Data_DAO_DTO_Lib.DTO.CUNGCAP_DTO> ListCungCap
        {
            get
            {
                return listCungCap;
            }
            set
            {
                listCungCap = value;
            }
        }

        void setListCungCapTuDTO(List<Data_DAO_DTO_Lib.DTO.DTO> l)
        {
            listCungCap = new List<Data_DAO_DTO_Lib.DTO.CUNGCAP_DTO>();

            for (int i = 0; i < l.Count; i++)
            {
                listCungCap.Add((Data_DAO_DTO_Lib.DTO.CUNGCAP_DTO)l[i]);
            }
        }
        //lay danh sach tieu chuan
        private List<Data_DAO_DTO_Lib.DTO.TIEUCHUANTHIETBI_DTO> listTieuChuan = new List<Data_DAO_DTO_Lib.DTO.TIEUCHUANTHIETBI_DTO>();
        public List<Data_DAO_DTO_Lib.DTO.TIEUCHUANTHIETBI_DTO> ListTieuChuan
        {
            get
            {
                return listTieuChuan;
            }
            set
            {
                listTieuChuan = value;
            }
        }

        void setListTieuChuanTuDTO(List<Data_DAO_DTO_Lib.DTO.DTO> l)
        {
            listTieuChuan = new List<Data_DAO_DTO_Lib.DTO.TIEUCHUANTHIETBI_DTO>();

            for (int i = 0; i < l.Count; i++)
            {
                listTieuChuan.Add((Data_DAO_DTO_Lib.DTO.TIEUCHUANTHIETBI_DTO)l[i]);
            }
        }
        //lay danh sach xuat xu de tai
        private List<Data_DAO_DTO_Lib.DTO.XUATXUDETAI_DTO> listXuatXuDeTai = new List<Data_DAO_DTO_Lib.DTO.XUATXUDETAI_DTO>();
        public List<Data_DAO_DTO_Lib.DTO.XUATXUDETAI_DTO> ListXuatXuDeTai
        {
            get
            {
                return listXuatXuDeTai;
            }
            set
            {
                listXuatXuDeTai = value;
            }
        }

        void setListXuatXuDeTaiTuDTO(List<Data_DAO_DTO_Lib.DTO.DTO> l)
        {
            listXuatXuDeTai = new List<Data_DAO_DTO_Lib.DTO.XUATXUDETAI_DTO>();

            for (int i = 0; i < l.Count; i++)
            {
                listXuatXuDeTai.Add((Data_DAO_DTO_Lib.DTO.XUATXUDETAI_DTO)l[i]);
            }
        }
        //lay danh sach muc do phat trien
        private List<Data_DAO_DTO_Lib.DTO.MUCDOPHATTRIENTHIETBI_DTO> listMucDoPhatTrien = new List<Data_DAO_DTO_Lib.DTO.MUCDOPHATTRIENTHIETBI_DTO>();
        public List<Data_DAO_DTO_Lib.DTO.MUCDOPHATTRIENTHIETBI_DTO> ListMucDoPhatTrien
        {
            get
            {
                return listMucDoPhatTrien;
            }
            set
            {
                listMucDoPhatTrien = value;
            }
        }

        void setListMucDoPhatTrienTuDTO(List<Data_DAO_DTO_Lib.DTO.DTO> l)
        {
            listMucDoPhatTrien = new List<Data_DAO_DTO_Lib.DTO.MUCDOPHATTRIENTHIETBI_DTO>();

            for (int i = 0; i < l.Count; i++)
            {
                listMucDoPhatTrien.Add((Data_DAO_DTO_Lib.DTO.MUCDOPHATTRIENTHIETBI_DTO)l[i]);
            }
        }
    }
}